﻿namespace AnyOffice.Model
{
    using System;

    public class RmsRoomData
    {
        protected DateTime _addTime = DateTime.Now;
        protected object _addUser;
        protected object _catalogNo;
        protected object _categoryNo;
        protected object _delTime;
        protected object _delUser;
        protected object _deptId;
        protected object _manageUser;
        protected object _modTime;
        protected object _modUser;
        protected object _remark;
        protected string _roomCode = string.Empty;
        protected int _roomId = -1;
        protected string _roomName = string.Empty;

        public DateTime AddTime
        {
            get
            {
                return this._addTime;
            }
            set
            {
                this._addTime = value;
            }
        }

        public string AddUser
        {
            get
            {
                return (string) this._addUser;
            }
            set
            {
                this._addUser = value;
            }
        }

        public string CatalogNo
        {
            get
            {
                return (string) this._catalogNo;
            }
            set
            {
                this._catalogNo = value;
            }
        }

        public bool CatalogNoIsNull
        {
            get
            {
                return (this._catalogNo == null);
            }
            set
            {
                if (value)
                {
                    this._catalogNo = null;
                }
            }
        }

        public string CategoryNo
        {
            get
            {
                return (string) this._categoryNo;
            }
            set
            {
                this._categoryNo = value;
            }
        }

        public bool CategoryNoIsNull
        {
            get
            {
                return (this._categoryNo == null);
            }
            set
            {
                if (value)
                {
                    this._categoryNo = null;
                }
            }
        }

        public DateTime DelTime
        {
            get
            {
                return (DateTime) this._delTime;
            }
            set
            {
                this._delTime = value;
            }
        }

        public bool DelTimeIsNull
        {
            get
            {
                return (this._delTime == null);
            }
            set
            {
                if (value)
                {
                    this._delTime = null;
                }
            }
        }

        public string DelUser
        {
            get
            {
                return (string) this._delUser;
            }
            set
            {
                this._delUser = value;
            }
        }

        public bool DelUserIsNull
        {
            get
            {
                return (this._delUser == null);
            }
            set
            {
                if (value)
                {
                    this._delUser = null;
                }
            }
        }

        public int DeptId
        {
            get
            {
                return (int) this._deptId;
            }
            set
            {
                this._deptId = value;
            }
        }

        public bool DeptIdIsNull
        {
            get
            {
                return (this._deptId == null);
            }
            set
            {
                if (value)
                {
                    this._deptId = null;
                }
            }
        }

        public string ManageUser
        {
            get
            {
                return (string) this._manageUser;
            }
            set
            {
                this._manageUser = value;
            }
        }

        public bool ManageUserIsNull
        {
            get
            {
                return (this._manageUser == null);
            }
            set
            {
                if (value)
                {
                    this._manageUser = null;
                }
            }
        }

        public DateTime ModTime
        {
            get
            {
                return (DateTime) this._modTime;
            }
            set
            {
                this._modTime = value;
            }
        }

        public bool ModTimeIsNull
        {
            get
            {
                return (this._modTime == null);
            }
            set
            {
                if (value)
                {
                    this._modTime = null;
                }
            }
        }

        public string ModUser
        {
            get
            {
                return (string) this._modUser;
            }
            set
            {
                this._modUser = value;
            }
        }

        public bool ModUserIsNull
        {
            get
            {
                return (this._modUser == null);
            }
            set
            {
                if (value)
                {
                    this._modUser = null;
                }
            }
        }

        public string Remark
        {
            get
            {
                return (string) this._remark;
            }
            set
            {
                this._remark = value;
            }
        }

        public bool RemarkIsNull
        {
            get
            {
                return (this._remark == null);
            }
            set
            {
                if (value)
                {
                    this._remark = null;
                }
            }
        }

        public string RoomCode
        {
            get
            {
                return this._roomCode;
            }
            set
            {
                this._roomCode = value;
            }
        }

        public int RoomId
        {
            get
            {
                return this._roomId;
            }
            set
            {
                this._roomId = value;
            }
        }

        public string RoomName
        {
            get
            {
                return this._roomName;
            }
            set
            {
                this._roomName = value;
            }
        }
    }
}

